package com.maixy.rabbitmqdemo.peck;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @ClassName DelayTestController
 * @Description TODO
 * @Date 2021/3/23 21:02
 * @Author maixy
 */
@RestController
@RequestMapping("/peck")
public class PeckTestController {

    @Resource
    private PeckSender peckSender;


    @GetMapping("/test1")
    public void peckTest1() {
        peckSender.sendMsg();
    }

}
